[INFO] cloning repository https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukthapriya%2FRust-vuln-detector-ML-and-Static-Analysis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukthapriya%2FRust-vuln-detector-ML-and-Static-Analysis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f747cb26d803eb837244fe88b305069f3c4e8eb0
[INFO] checking yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukthapriya%2FRust-vuln-detector-ML-and-Static-Analysis" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis
[INFO] finished tweaking git repo https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis
[INFO] tweaked toml for git repo https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yukthapriya/Rust-vuln-detector-ML-and-Static-Analysis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linfa-trees v0.6.1
[INFO] [stderr]   Downloaded linfa-logistic v0.6.1
[INFO] [stderr]   Downloaded noisy_float v0.2.0
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded ndarray-stats v0.5.1
[INFO] [stderr]   Downloaded argmin v0.4.7
[INFO] [stderr]   Downloaded linfa v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45ac1e4b9a9e6f0370121fd280e992fff6084265534de3298ee8ff378948ecc5
[INFO] running `Command { std: "docker" "start" "-a" "45ac1e4b9a9e6f0370121fd280e992fff6084265534de3298ee8ff378948ecc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45ac1e4b9a9e6f0370121fd280e992fff6084265534de3298ee8ff378948ecc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45ac1e4b9a9e6f0370121fd280e992fff6084265534de3298ee8ff378948ecc5", kill_on_drop: false }`
[INFO] [stdout] 45ac1e4b9a9e6f0370121fd280e992fff6084265534de3298ee8ff378948ecc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5a5ceea0897c72b603ceb62cc294fb9457a4fd4a1eba02d3357667d33b52f40
[INFO] running `Command { std: "docker" "start" "-a" "d5a5ceea0897c72b603ceb62cc294fb9457a4fd4a1eba02d3357667d33b52f40", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling linfa v0.6.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking noisy_float v0.2.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking slog-term v2.9.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking slog-json v2.6.1
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking ndarray-stats v0.5.1
[INFO] [stderr]     Checking argmin v0.4.7
[INFO] [stderr]     Checking linfa-trees v0.6.1
[INFO] [stderr]     Checking linfa-logistic v0.6.1
[INFO] [stderr]     Checking rust-vuln-detector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0271]: type mismatch resolving `<ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>> as AsTargets>::Ix == Dim<[usize; 1]>`
[INFO] [stdout]   --> src/ml.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let model = LogisticRegression::default().fit(&train)?;
[INFO] [stdout]    |                                               ^^^ expected an array with a size of 1, found one with a size of 2
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Dim<[usize; 1]>`
[INFO] [stdout]               found struct `Dim<[usize; 2]>`
[INFO] [stdout]    = note: required for `ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>>` to implement `AsSingleTargets`
[INFO] [stdout]    = note: required for `linfa_logistic::hyperparams::LogisticRegressionValidParams<f32, Dim<[usize; 1]>>` to implement `Fit<ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>>, linfa_logistic::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>> as AsTargets>::Ix == Dim<[usize; 1]>`
[INFO] [stdout]   --> src/ml.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let model = LogisticRegression::default().fit(&train)?;
[INFO] [stdout]    |                                               ^^^ expected an array with a size of 1, found one with a size of 2
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Dim<[usize; 1]>`
[INFO] [stdout]               found struct `Dim<[usize; 2]>`
[INFO] [stdout]    = note: required for `ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>>` to implement `AsSingleTargets`
[INFO] [stdout]    = note: required for `linfa_logistic::hyperparams::LogisticRegressionValidParams<f32, Dim<[usize; 1]>>` to implement `Fit<ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<i32>, Dim<[usize; 2]>>, linfa_logistic::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-vuln-detector` (bin "rust-vuln-detector") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-vuln-detector` (bin "rust-vuln-detector" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "d5a5ceea0897c72b603ceb62cc294fb9457a4fd4a1eba02d3357667d33b52f40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5a5ceea0897c72b603ceb62cc294fb9457a4fd4a1eba02d3357667d33b52f40", kill_on_drop: false }`
[INFO] [stdout] d5a5ceea0897c72b603ceb62cc294fb9457a4fd4a1eba02d3357667d33b52f40
